//
//  XLNetTest.h
//  Commet
//
//  Created by tanqilong on 16/6/27.
//  Copyright © 2016年 tanqilong. All rights reserved.
//  网络请求测试

#import <Foundation/Foundation.h>
#import "XLBaseNetMode.h"

typedef enum : NSUInteger {
    RequestMothodGet = 0,
    RequestMothodPost = 1,
} RequestMothod;

@interface XLNetTest : NSObject

+(void)requestWithDic:(NSDictionary *)paramDic ModeClass:(Class)modeClass Url:(NSString *)url Method:(RequestMothod)requestMethod Success:(void(^)(XLBaseNetMode * mode,id json)) successBlock Error:(void(^)(id json,NSURLResponse * response)) errorBlock;

@end
